package com.it.jzs.util;

import com.it.jzs.vo.BlogCommentVo;

import java.util.List;

public class CommentThreadLocal {

    private CommentThreadLocal(){}

    private static final ThreadLocal<List<BlogCommentVo>> LOCAL = new ThreadLocal<>();

    public static void put(List<BlogCommentVo> list){
        LOCAL.set(list);
    }
    public static List<BlogCommentVo> get(){
        return LOCAL.get();
    }
    public static void remove(){
        LOCAL.remove();
    }
}
